﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Ynpc a = new Ynpc("江滨", NPCType.Task,"屎");
            a.Giao();
            Ynpc a1 = new Ynpc("海彪", NPCType.Task,"辣条");
            a1.Giao();
            Ynpc a2 = new Ynpc("梦林", NPCType.Task, "海鲜");
            a2.Giao();


            Console.WriteLine("------------------------------------");

            Mnpc b = new Mnpc("江滨", NPCType.Shop, "搅屎棍");
            b.Giao();
            Mnpc b1 = new Mnpc("海彪", NPCType.Shop,"杰士邦");
            b1.Giao();

            Console.WriteLine("------------------------------------");

            Mnpc c = new Mnpc("江滨", NPCType.Shop, "搅屎棍");
            b.Giao();
            Mnpc c2 = new Mnpc("海彪", NPCType.Shop, "金箍棒");
            b1.Giao();


        }
    }
}
